package example4;
import example4.SalaryService;

import static example4.SalaryService.getTotalSalaries;

public class Test {
    public static void main(String[] args){
        Manager m1 = new Manager("黑子",5000,2);
        Seller s1 = new Seller("小黑子",20000,0.15,3000);
        double t1 = getTotalSalaries(s1,m1);
        System.out.println(t1);
    }
}
